package com.lecture.junit.tdd.example;

public interface IAccount {

    public Boolean passwordMatches(String pass);

    public void setLoggedIn();
    
    public void setRevoked();

	public boolean isLoggedIn();
	
	public boolean isRevoked();
	
	public String getUserName();

	public String getPassword();
	
	public boolean isPasswordExpired();
	
	public boolean changePassword(String oldPassword, String newPassword);
	
	public boolean isUsingExpired();
	
	//public Date getLastUseTime();
	
	//public void setLastUseTime(Date time);
}
